package com.cskaoyan.mall.common.util;

import com.cskaoyan.mall.common.result.Result;

public class SealResult {
    public static Result parseResult(Object data){
        if (data==null)
            return Result.fail();
        return Result.ok(data);
    }
}
